package com.jy.rhin.application.enums;

/**
 * @Description:
 * @Author: lww
 * @Date: 2022/5/12 14:11
 */
public enum ParticipantObjectTypeCodeRoleEnum implements BaseEnum{
    /**
     * C.8  参与者具体对象类型代码
     */
    PATIENT("1", "患者,居民"),
    LOCATION("2", "位置,机构"),
    REPORT("3", "报告,结果信息"),
    RESOURCE("4", "资源，值集"),
    MASTER_FILE("5", "主文件,文档"),
    USER("6", "用户"),
    LIST("7", "列表"),
    DOCTOR("8", "医生,护士"),
    SUBSCRIBER("9", "订阅者"),
    GUARANTOR("10", "担保人"),
    SECURITY_USER_ENTITY("11", "安全用户实体"),
    SECURITY_USER_GROUP("12", "安全用户组"),
    SECURITY_RESOURCE("13", "安全资源"),
    SECURITY_GRANULARITY_DEFINITION("14", "安全粒度定义"),
    PROVIDER("15", "提供者"),
    REPORT_DESTINATION("16", "报告目标"),
    REPORT_LIBRARY("17", "报告库"),
    SCHEDULE("18", "计划表"),
    CUSTOMER("19", "消费者"),
    JOB("20", "工作"),
    JOB_STREAM("21", "工作流"),
    TABLE("22", "表格"),
    ROUTING_CRITERIA("23", "路由规则"),
    QUERY("24", "查询");

    private String code;
    private String name;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    private ParticipantObjectTypeCodeRoleEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
